﻿<Window x:Class="frmDocumentStore"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Document Details" Height="780" Width="973" Background="Gray" >
    <Grid Width="935" MaxHeight="780" MaxWidth="975">
        <GroupBox Header="Requirements" Margin="5,3,12,202" Name="grpReq">
            <Grid>
                <Label Height="22.8" HorizontalAlignment="Left" Margin="341,0,0,3" Name="Label1" VerticalAlignment="Bottom" Width="49">Type</Label>
                <ComboBox BorderBrush="Black" Height="21" Margin="415,0,327,4" Name="drpDocType" VerticalAlignment="Bottom" />
                <Label Height="22.8" HorizontalAlignment="Left" Margin="16,0,0,3" Name="Label2" VerticalAlignment="Bottom" Width="51">Name</Label>
                <TextBox BorderBrush="Black" Height="20" HorizontalAlignment="Right" Margin="0,0,588,6" Name="txtDocName" VerticalAlignment="Bottom" Width="234" />
                <Button ContentStringFormat="" Height="22.8" HorizontalAlignment="Right" Margin="0,0,129,3" Name="btnAdd" VerticalAlignment="Bottom" Width="136">Add Requirement</Button>
                <Button Height="21" Margin="0,5,18,0" Name="btnclose" VerticalAlignment="Top" HorizontalAlignment="Right" Width="105">Close</Button>
                <Button Height="21" Margin="0,223,6,0" Name="btnDefaults" VerticalAlignment="Top" HorizontalAlignment="Right" Width="117">Load Defaults</Button>
                <Button Height="34" Margin="0,156,6,0" Name="btnAddComment" VerticalAlignment="Top" HorizontalAlignment="Right" Width="117">Add Document Review Comment</Button>
                <Button Margin="0,196,6,0" Name="btnReceived" HorizontalAlignment="Right" Width="117" Height="21" VerticalAlignment="Top">Mark as Received</Button>
                <Button Margin="0,250.8,6,244.923" Name="btnDelete" HorizontalAlignment="Right" Width="117">Delete</Button>
                <ComboBox BorderBrush="Black" Height="21" Margin="0,129,6,0" Name="cmbDocComments" VerticalAlignment="Top" HorizontalAlignment="Right" Width="117" />
                <ListView Margin="1,5,175,49" Name="lvwRequired">
                    <ListView.View>
                        <GridView Selector.IsSelected="True">
                            <GridViewColumn DisplayMemberBinding="{Binding Path=DocReq_Name}" Width="150">Document</GridViewColumn>
                            <GridViewColumn DisplayMemberBinding="{Binding Path=DocReqType_Name}" Width="150">Type</GridViewColumn>
                            <GridViewColumn DisplayMemberBinding="{Binding Path=DocReq_DTEntered}" Width="150">Date Added</GridViewColumn>
                            <GridViewColumn DisplayMemberBinding="{Binding Path=Rec}" Width="150">Status</GridViewColumn>
                            <GridViewColumn DisplayMemberBinding="{Binding Path=DocReq_DTReceived}" Width="150">Date Received</GridViewColumn>
                            <GridViewColumn DisplayMemberBinding="{Binding Path=DocReq_RecBy}" Width="150">Received by</GridViewColumn>
                            <GridViewColumn DisplayMemberBinding="{Binding Path=DocComment_Msg}" Width="150">Comments</GridViewColumn>
                        </GridView>
                    </ListView.View>
                </ListView>
            </Grid>
        </GroupBox>
        <GroupBox Header="Documents Stored" Height="184" Margin="5,0,12,12" Name="GroupBox1" VerticalAlignment="Bottom">
            <Grid>
                <Button ContentStringFormat="" Height="22.8" HorizontalAlignment="Left" Margin="0,0,0,-2" Name="btnLoad" VerticalAlignment="Bottom" Width="175">Load Documents to Store</Button>
                <ListView Margin="0,1,0,26" Name="lvwStored">
                    <ListView.View>
                        <GridView Selector.IsSelected="True">
                            <GridViewColumn DisplayMemberBinding="{Binding Path=DocStore_ID}" Width="150">ID</GridViewColumn>
                            <GridViewColumn DisplayMemberBinding="{Binding Path=DocStore_Description}" Width="150">Store Name</GridViewColumn>
                            <GridViewColumn DisplayMemberBinding="{Binding Path=DocStore_Type}" Width="150">Type</GridViewColumn>
                            <GridViewColumn DisplayMemberBinding="{Binding Path=Date_Entered}" Width="150">Date</GridViewColumn>
                            <GridViewColumn DisplayMemberBinding="{Binding Path=DocStore_EnteredBy}" Width="150">Created By</GridViewColumn>
                            <GridViewColumn DisplayMemberBinding="{Binding Path=Doc_ID}" Width="150">No of Docs</GridViewColumn>
                        </GridView>
                    </ListView.View>
                </ListView>
            </Grid>
        </GroupBox>
    </Grid>
</Window>
